<div id="base_item" order="{{ order_name }}" base="{{ base['database'].getName() }}">
    <hr>
    <h2 class="ml">База данных «<span>{{ base['database'].getName() }}</span>» - не активна</h2>
    <div id="load_icon_wait_db" class="ml" order="{{ order_name }}" base="{{ base['database'].getName() }}">
        Обработка запроса  <img alt="загрузка" src="{{ asset('bundles/billing/i/load.gif') }}">
    </div>
    <table class="mysql-detals">
            <tr>
                    <td width="180">
                        <div class="mysql-item">Пользователи<br>
                            <div class="action" id="add_mysql_user_link" order="{{ order_name }}" base="{{ base['database'].getName() }}">добавить</div>
                            <div id="add_mysql_user_content" order="{{ order_name }}" base="{{ base['database'].getName() }}" style="display:none">
                                логин:<input type="text" name="user_mysql_login" order="{{ order_name }}" base="{{ base['database'].getName() }}"/>
                                <br>
                                пароль:<input type="text" name="user_mysql_password" order="{{ order_name }}" base="{{ base['database'].getName() }}"/>
                                <br>
                                <div id="add_mysql_user" order="{{ order_name }}" base="{{ base['database'].getName() }}">создать</div>
                            </div>
                            <div id="load_icon_create_user" order="{{ order_name }}" base="{{ base['database'].getName() }}" style="display:none">
                                Отправление запроса <img alt="загрузка" src="{{ asset('bundles/billing/i/load.gif') }}">
                            </div>
                        </div>
                    </td>
                    <td>
                        <div id="users_list" order="{{ order_name }}" base="{{ base['database'].getName() }}">
                            {% for user in base['users'] %}
                                {% if user.getIsActive %}
                                    {% include "BillingBundle:Orders_shared:user_index_active_dbuser_template.html.twig" %}
                                {% else %}
                                    {% include "BillingBundle:Orders_shared:user_index_not_active_dbuser_template.html.twig" %}
                                {% endif %}
                            {% endfor %}
                        </div>
                        <div class="clear"></div>
                        <hr>
                    </td>
            </tr>
            <tr style="display:none">
                    <td><div class="mysql-item">Внешние права<br><div class="action">добавить</div></div></td>
                    <td>

                            <div class="mysql-item"><span>localhost</span><br><div class="del">удалить</div></div>
                            <div class="mysql-item"><span>192.168.11.1</span><br><div class="del">удалить</div></div>
                            <div class="clear"></div>
                            <hr>
                    </td>
            </tr>
            <tr>
                    <td><div class="mysql-item">Действия:</div></td>
                    <td><div class="mysql-item">
                            <table>
                            <tr>
                                <td><div class="action">скачать</div></td>
                                <td><div class="action">проверить</div></td>
                                <td><div class="action">починить</div></td>
                                <td><div class="action">оптимизировать</div></td>
                                <td>
                                    <div id="drop_database" class="action del" order="{{ order_name }}" base="{{ base['database'].getName() }}">удалить</div>
                                    <div id="load_icon_drop_db" order="{{ order_name }}" base="{{ base['database'].getName() }}" style="display:none">
                                        Отправление запроса <img alt="загрузка" src="{{ asset('bundles/billing/i/load.gif') }}">
                                    </div>
                                </td>
                            </tr>
                            </table>
                        </div>
                    </td>
            </tr>
    </table>
    <br>
</div>
